#include "firstcollectvideo.h"
#include "ui_firstcollectvideo.h"

firstcollectvideo::firstcollectvideo(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::firstcollectvideo)
{
    ui->setupUi(this);
}

firstcollectvideo::~firstcollectvideo()
{
    delete ui;
}

void firstcollectvideo::init(QString image, QString name)
{
    this->image=image;
    this->name=name;
    ui->image->setIcon(QPixmap(image));
    ui->image->setIconSize(QSize(ui->image->width(),ui->image->height()));
    ui->collectname->setText(name);

}
